package org.agilelang.tpl.bootstrap;
// Generated Agile Lang

import java.util.ArrayList;
import java.util.Map;
import model.entities.auth.Permission;
import model.entities.auth.Resourcegroup;
import model.entities.auth.Role;

public interface RoleDao {

    public boolean create(Role Authusergroups);

    public ArrayList<Role> list();

    public Role read(int id);

    public boolean update(Role Authusergroups);

    public boolean delete(int id);

    public int count();

    public ArrayList<Role> getList(int page_size, int page_number);

    public ArrayList<Role> all();  

    public ArrayList<Resourcegroup> getResources();

    public void updateResources(Integer id, Map parameters);

    public ArrayList<Permission> readResources(Integer id);
}